package com.qf.user.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author zdl
 * @date 2025/3/21
 */
@Data
public class LoginParam {
    //登录类型
    private Integer loginType;
    //参数验证使用注解
    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;
    //验证码
    private String code;
    //手机号
    private String phone;
}
